package com.hxl;

import com.hxl.server.MonitorHttpServer;

import java.text.DecimalFormat;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.ArrayBlockingQueue;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {

        if (args.length==1){
            Integer integer = Integer.valueOf(args[0]);
            new MonitorHttpServer(integer);
        }
        new MonitorHttpServer(7070);


    }
}
